package jdbc;

/**
 * Created by wang.bh
 */
public class TransThreadA extends Thread {
    private Jdbb bb;

    public TransThreadA() {
        bb = new Jdbb();
    }

    public void setIsolationLevel(int level) {
        bb.setIsolationLevel(level);
    }

    @Override
    public void run() {
        System.out.println("transaction A start:");
        bb.transA();
    }
}
